c573b8f497cce1a80a7e6bd9b21111fb79c9d679,plugins/com.google.cloud.tools.eclipse.login.test/src/com/google/cloud/tools/eclipse/login/ui/AccountsPanelTest.java,AccountsPanelTest,testAccountsArea_zeroAccounts,#,82
Before Change
setUpLoginService();
AccountsPanel panel = new AccountsPanel(null, loginService);
panel.createDialogArea(shell);
assertTrue(panel.accountLabels.isEmpty());
}
After Change
setUpLoginService();
AccountsPanel panel = new AccountsPanel(null, loginService);
Control control = panel.createDialogArea(shell);
new SWTBot(control).labelWithId(AccountsPanel.CSS_CLASS_NAME_KEY, "email");
}
@Test(expected = IndexOutOfBoundsException.class)